Decode String solution